package com.tl.khadmin.test;

public class test {

	public static void main(String[] args) { 
		Double d = 1.234555500;
		//float d = 3.12f;
					
		String str = d + "";
				
		System.out.println(str.length() - (str.indexOf(".") + 1));
	}
}
